package com.usefullc.system.service.component.redis;

import lombok.Data;

import java.io.Serializable;

/**
 * @author: Sampson
 * @date: 2022-02-01 17:25
 */
@Data
public class SubPubMessage implements Serializable {

    private String appName;

    private String key;

    private Object data;

    public SubPubMessage() {
    }

    public SubPubMessage(String appName, String key, Object data) {
        this.appName = appName;
        this.key = key;
        this.data = data;
    }

}
